home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-22 | 2.0 KB | 71 lines | [TEXT/MPS ] |
- #include "Types.r"
- #include "SysTypes.r"
-
- #include "ArrangeModule.r.h"
-
- /* This is the Rez input file for a "generic" plugin module. For simple
- * plugins, the only necessary customization should be to insert proper
- * values for the ModuleName and ModuleID macros. Each module you create
- * should have a different value for ModuleID. Contact CKI to get a range
- * of IDs assigned for your use.
- *
- * This version of GenericPlugin.r was written by Steve Newman on 12/24/93.
- * Last updated 7/15/94.
- */
-
- #define ModuleName "Your name here" // Unique module name
- #define ModuleID 0x70000000 // Unique module ID
- #define ModuleRsrcID -0x8000 // Base resource ID (needn't be unique)
- #define BuildDate 0 // Replace with current build date
-
-
- resource 'vers' (1, purgeable) {
- 0x01, 0x00, final, 0,
- verUS,
- "1.0",
- "Generic Plugin 1.0\n"
- };
-
- resource ModuleDefType (ModuleRsrcID, ModuleName, preload, locked)
- {
- keepLocked, // Module's code resources should always be locked (don't
- // lock and unlock for each call)
- loadAtBoot, // Load the module when Arrange is launched
- ModuleName, // Unique module name
- ModuleID, // Unique module ID
- 0x00000000, // Module version
- BuildDate, // Date when this module was built
- ArrangeAppID, // Target application (Arrange)
- 0x00000700, // Target system version (7.0.0)
- ArrangePonsVers, // Target app version (Arrange 2.0)
- 0 // relative ID of root code resource
- };
-
-
- // ALRT resource for our plug-in about box
- resource 'ALRT' (ModuleRsrcID, purgeable)
- {
- {90, 60, 210, 450},
- ModuleRsrcID,
- {
- OK, visible, silent,
- OK, visible, silent,
- OK, visible, silent,
- OK, visible, silent
- }
- #if SystemSevenOrLater
- ,alertPositionMainScreen
- #endif
- };
-
-
- // DITL resource for our plug-in about box
- resource 'DITL' (ModuleRsrcID)
- {
- {
- {90, 315, 110, 375}, Button {enabled, "OK"},
- {10, 70, 70, 370}, StaticText {disabled, "Stock Quote Plugin 1.0."},
- {10, 20, 40, 50}, Icon {disabled, 0}
- }
- };
-